package com.fr.data.core.db.dialect;

public class H2Dialect extends AbstractDialect
{
  public String columnType2SQL(int paramInt, String paramString)
  {
    if (paramInt == -7)
      return "BOOLEAN";
    return super.columnType2SQL(paramInt, paramString);
  }

  public String getIdentitySelectString()
  {
    return "call identity()";
  }

  public boolean supportsLimit()
  {
    return true;
  }

  public String getLimitString(String paramString, int paramInt1, int paramInt2)
  {
    return (paramString.length() + 30) + paramString + new StringBuffer().append(" limit ").append(paramInt2).append(" offset ").append(paramInt1).toString();
  }
}